lsservicestatus
使用 lsservicestatus 指令可顯示節點的狀態。
語法
參數
- panel_name
- (選用)如果未提供 panel_name,則會傳回本端節點的服務建議。如果指定了 lsservicenodes 所傳回清單中的 panel_name,則將傳回該節點的服務建議。如果 panel_name ID 不在 lsservicenodes 傳回的清單中,則該指令將失敗。這個輸出會傳回作為所有「通用序列匯流排 (USB)」快閃記憶體隨身碟指令的節點狀態。
說明
請使用這個指令來顯示節點的狀態。此指令提供了可使用系統節點的面板獲取的所有資訊。
處於 online_spare 狀態的節點會顯示成作用中節點。沒有任何備用節點額外欄位留為空白。
可以在任意節點(即便不屬於系統的節點)上執行該指令來獲取重要產品資料 (VPD) 和錯誤狀態。
下表顯示了可能的輸出。
| 屬性 | 值 |
|---|---|
| panel_name | 指示用於識別節點的面板名稱、機箱 ID 或機匣 ID。 |
| console_ip | 指示「網際網路通訊協定 (IP)」版本 4 或 6 位址。 註: 如果節點不存在於系統中,則該欄位可能空白。
|
| has_nas_key | 指出 has_nas_key 欄位值。值為 yes 或 no。註: 如果節點不存在於系統中,則該欄位可能空白。
|
| cluster_id | 指示叢集系統的 ID。 |
| cluster_name | 指示叢集系統的名稱。使用該參數時,將顯示特定系統的詳細視圖,並忽略您以 -filtervalue 參數指定的任何值。如果未指定 cluster_name 參數,則會顯示符合 -filtervalue 參數所指定的過濾需求的所有系統的簡要視圖。 |
| cluster_status | 指示錯誤碼與面板上顯示的錯誤碼相同。 |
| cluster_ip_count | 指示您可以配置的管理位址數目上限。 |
| cluster_ip_port | 指出系統 IP 埠。將針對每一個管理位址重複此欄位。 |
| cluster_ip | 指出網際網路通訊協定版本 4 (IPv4) 管理 IP 位址。將針對每一個管理位址重複此欄位。 |
| cluster_gw | 指出 IPv4 管理 IP 閘道。將針對每一個管理位址重複此欄位。 |
| cluster_mask | 指出 IPv4 管理 IP 遮罩。將針對每一個管理位址重複此欄位。 |
| cluster_ip_6 | 指出網際網路通訊協定版本 6 (IPv6) 管理 IP 位址。將針對每一個管理位址重複此欄位。 |
| cluster_gw_6 | 指出 IPv6 管理 IP 閘道。將針對每一個管理位址重複此欄位。 |
| cluster_prefix_6 | 指出 IPv6 管理 IP 字首。將針對每一個管理位址重複此欄位。 |
| node_id | 指示所要配置的節點的 ID。此值為數字。 |
| node_name | 指示所要配置的節點的名稱。 |
| node_status | 指出節點狀態。值如下:
|
| config_node | 指出節點是否為配置節點。值為 yes 或 no。 |
| 硬體 | 指出硬體類型。 |
| service_IP_address | 指出節點的 IPv4 服務位址。 |
| service_gateway | 指出節點的 IPv4 服務閘道。 |
| service_subnet_mask | 指出節點的 IPv4 服務遮罩。 |
| service_IP_address_6 | 指出節點的 IPv6 服務位址。 |
| service_gateway_6 | 指出節點的 IPv6 服務閘道。 |
| service_prefix_6 | 指出節點的 IPv6 服務字首。 |
| node_IP_address | 指出 IPv4 管理節點 IP 位址,供系統用於探索節點和形成 IP 叢集。 |
| node_gateway | 指出 IPv4 管理節點 IP 閘道。 |
| node_subnet_mask | 指出 IPv4 管理節點 IP 遮罩。 |
| node_code_version | 指出節點的系統代碼版本。 |
| node_code_build | 指出節點上的代碼的建置字串。 |
| cluster_sw_build | 指出系統執行的 CSM 建置。 |
| node_error_count | 指出節點錯誤數。 |
| node_error_data | 指出節點錯誤類型。 |
| FC_port_count | 指出 FC 埠的數量。將針對每一個管理位址重複此欄位。 |
| FC_port_id | 指出埠 ID。將針對每一個管理位址重複此欄位。 |
| port_status | 指出埠狀態。該值必須符合面板、機箱或機匣上的埠。 |
| port_speed | 指出埠速度。該值必須符合面板、機箱或機匣上的埠速度。 |
| port_WWPN | 指出埠的全球埠號。 |
| SFP_type | 指出 SFP 類型。值為 long-wave 或 short-wave。 |
| ethernet_port_count | 指示偵測到的乙太網路埠的數目。 |
| ethernet_port_id | 指示乙太網路埠的 ID。 |
| port_status | 指出埠狀態。值如下:
|
| port_speed | 指出埠速度。值如下:
|
| MAC | 指示單一 MAC 位址。 |
| vnport_count | 指示在每個「乙太網路光纖通道 (FCoE)」埠上建立的 VN 埠數量。 |
| vnport_id | 指出 VN 埠 ID。 |
| vnport_wwpn | 指示已指派給 VN 埠的 WWPN。 |
| vnport_FCF_mac | 指出 VN 埠連接的 FCF 的 MAC 位址。 |
| vnport_vlanid | 指出 VN 埠使用的 VLAN ID。對於 FC 埠,該值為空白。 |
| product_mtm | 指示機型和型號。 |
| product_serial | 指出節點序號。 |
| disk_WWNN_prefix | 最近使用的 WWNN 字首。 |
| node_WWNN | 指出節點中儲存的最後一個作用中的 WWNN;如果沒有系統資料,則為空白。 |
| enclosure_WWNN_1 | 指示機箱 VPD 中的第一個機匣 WWNN。 |
| enclosure_WWNN_2 | 指示機箱 VPD 中的第二個機匣 WWNN。 |
| node_part_identity | 指示硬體 VPD 中的 11S 字串。 |
| node_FRU_part | 指出節點現場可更換單元 (FRU) 產品編號(如果儲存在節點 VPD 中) |
| enclosure_part_identity | 指出 S11 資料。 |
| PSU_count | 不適用 |
| PSU_id | 不適用 |
| PSU_status | 不適用 |
| time_to_charge | 指示要為電池充 50% 電所需的估計時間(以分鐘為單位)。 |
| Battery_charging | 指出電池充電量的百分比。 |
| Battery_count | 指示預期的電池數目(兩個)。 |
| Battery_id | 指出電池所在插槽的 ID。 |
| Battery_status | 指示狀態為 missing、failed、charging 或 active。 |
| Battery_FRU_part | 指出電池的 FRU 產品編號。 |
| Battery_part_identity | 指出電池的 11S FRU 識別(包括序列號)。 |
| Battery_fault_led | 指示錯誤發光二極體 (LED) 狀態。 |
| Battery_charging_status | 指出電池充電狀態。 |
| Battery_cycle_count | 指出電池執行的充電或放電循環次數。 |
| Battery_powered_on_hours | 指出電池位於已供電節點中的時數。 |
| Battery_last_recondition | 指示上次順利校準壓力計的系統時間戳記。 |
| Battery_midplane_FRU_part | 指出電池中板的 FRU 產品編號 |
| Battery_midplane_part_identity | 指出電池中板的 11S FRU 識別(包括序號)。 |
| Battery_midplane_FW_version | 指示在電池中板上執行的韌體版本。 |
| Battery_power_cable_FRU_part | 指出電池電源線的 FRU 產品編號。 |
| Battery_power_sense_cable_FRU_part | 指出電池中板電源感應纜線的 FRU 產品編號。 |
| Battery_comms_cable_FRU_part | 指出電池中板通訊纜線的 FRU 產品編號。 |
| Battery_EPOW_cable_FRU_part | 指出電池中板 EPOW 纜線的 FRU 產品編號。 |
| local_fc_port_mask | 指出系統可用於本端系統上節點到節點通訊的 FC I/O 埠(如果節點上有這些 FC I/O 埠的話)。值為 64 二進位位元。 |
| partner_fc_port_mask | 指出系統可用於夥伴系統上系統到系統通訊的 FC I/O 埠(如果節點上有這些 FC I/O 埠的話)。值為 64 二進位位元。 |
| cluster_topology | 指出系統拓蹼(使用 chsystem 指令設定)。 |
| site_id | 指出站台節點值。 |
| site_name | 指出站台名稱。 |
| identify_LED | 指出節點或節點機匣識別 LED 狀態(on、off 或空白)。 |
| password_reset_enabled | 指示是否啟用了超級使用者密碼重設(yes 或 no)。 |
呼叫範例
sainfo lsservicestatus
結果輸出:
panel_name 78FNMT0
cluster_id 000002033661160c
cluster_name ron
cluster_status Active
cluster_ip_count 2
cluster_port 1
cluster_ip 9.199.142.183
cluster_gw 9.199.142.1
cluster_mask 255.255.255.0
cluster_ip_6
cluster_gw_6
cluster_prefix_6
cluster_port 2
cluster_ip
cluster_gw
cluster_mask
cluster_ip_6
cluster_gw_6
cluster_prefix_6
node_id 56
node_name node1
node_status Active
config_node Yes
hardware SV1
service_IP_address 9.199.142.181
service_gateway 9.199.142.1
service_subnet_mask 255.255.255.0
service_IP_address_6
service_gateway_6
service_prefix_6
node_code_version 8.2.1.0
node_code_build 147.8.1810261134000
cluster_code_build 147.8.1810261134000
node_error_count 1
error_code 776
error_data 2
fc_ports 4
port_id 1
port_status Not Installed
port_speed N/A
port_WWPN 500507680c318b06
SFP_type Short-wave
port_id 2
port_status Not Installed
port_speed N/A
port_WWPN 500507680c328b06
SFP_type Short-wave
port_id 3
port_status Not Installed
port_speed N/A
port_WWPN 500507680c338b06
SFP_type Short-wave
port_id 4
port_status Not Installed
port_speed N/A
port_WWPN 500507680c348b06
SFP_type Short-wave
ethernet_ports 9
ethernet_port_id 1
port_status Link Online
port_speed 1Gb/s - Full
MAC 98:be:94:6d:21:db
node_IP_addressnode_gatewaynode_subnet_maskrdma_type
ethernet_port_id 2
port_status Not Configured
port_speed
MAC 98:be:94:6d:21:da
node_IP_addressnode_gatewaynode_subnet_maskrdma_type
ethernet_port_id 3
port_status Not Configured
port_speed
MAC 98:be:94:6d:21:d9
node_IP_addressnode_gatewaynode_subnet_maskrdma_type
ethernet_port_id 4
port_status Link Online
port_speed 25Gb/s - Full
MAC 00:07:43:3d:7c:38
node_IP_addressnode_gatewaynode_subnet_maskrdma_type iWARP
ethernet_port_id 5
port_status Link Online
port_speed 25Gb/s - Full
MAC 00:07:43:3d:7c:30
node_IP_addressnode_gatewaynode_subnet_maskrdma_type iWARP
ethernet_port_id 6
port_status Not Configured
port_speed 25Gb/s - Full
MAC 00:07:43:3a:c1:d8
node_IP_addressnode_gatewaynode_subnet_maskrdma_type iWARP
ethernet_port_id 7
port_status Link Online
port_speed 25Gb/s - Full
MAC 00:07:43:3a:c1:d0
node_IP_address 10.10.70.11
node_gateway 10.10.70.1
node_subnet_mask 255.255.255.0
rdma_type iWARP
ethernet_port_id 8
port_status Link Online
port_speed 25Gb/s - Full
MAC ec:0d:9a:30:a2:3f
node_IP_address 192.168.48.54
node_gateway 192.168.48.1
node_subnet_mask 255.255.255.0
rdma_type RoCE
ethernet_port_id 9
port_status Link Online
port_speed 25Gb/s - Full
MAC ec:0d:9a:30:a2:3e
node_IP_address 10.10.90.11
node_gateway 10.10.90.1
node_subnet_mask 255.255.255.0
rdma_type RoCE
product_mtm 2145-SV1
product_serial 78FNMT0
time_to_charge 0
battery_charging 100
dump_name 78FNMT0
node_WWNN 500507680c008b06
disk_WWNN_suffix
panel_WWNN_suffix
UPS_serial_number
UPS_status
enclosure_WWNN_1
enclosure_WWNN_2
node_part_identity
node_FRU_part
enclosure_identity
PSU_count 0
PSU_id 1
PSU_status
PSU_id 2
PSU_status
Battery_count 2
Battery_id 1
Battery_status active
Battery_FRU_part 01LJ604
Battery_part_identity 11S01LJ603YM10BG6BN16B
Battery_fault_led off
Battery_charging_status idle
Battery_cycle_count 16
Battery_power_on_hours 8985
Battery_last_recondition 180828014056
Battery_id 2
Battery_status active
Battery_FRU_part 01LJ604
Battery_part_identity 11S01LJ603YM10BG6BN0VT
Battery_fault_led off
Battery_charging_status idle
Battery_cycle_count 33
Battery_power_on_hours 8985
Battery_last_recondition 180822165529
node_location_copy 1
node_product_mtm_copy 2145-SV1
node_product_serial_copy 78FNMT0
node_WWNN_1_copy 500507680c008b06
node_WWNN_2_copy
latest_cluster_id 0
next_cluster_id 2033681160c
console_IP 9.199.142.183:443
has_nas_key no
fc_io_ports 12
fc_io_port_id 1
fc_io_port_WWPNfc_io_port_switch_WWPNfc_io_port_state Inactive
fc_io_port_FCF_MACfc_io_port_vlanidfc_io_port_type FC
fc_io_port_type_port_id 0
fc_io_port_id 2
fc_io_port_WWPNfc_io_port_switch_WWPNfc_io_port_state Inactive
fc_io_port_FCF_MACfc_io_port_vlanidfc_io_port_type FC
fc_io_port_type_port_id 0
fc_io_port_id 3
fc_io_port_WWPNfc_io_port_switch_WWPNfc_io_port_state Inactive
fc_io_port_FCF_MACfc_io_port_vlanidfc_io_port_type FC
fc_io_port_type_port_id 0
fc_io_port_id 4
fc_io_port_WWPNfc_io_port_switch_WWPNfc_io_port_state Inactive
fc_io_port_FCF_MACfc_io_port_vlanidfc_io_port_type FC
fc_io_port_type_port_id 0
fc_io_port_id 5
fc_io_port_WWPNfc_io_port_switch_WWPNfc_io_port_state Inactive
fc_io_port_FCF_MACfc_io_port_vlanidfc_io_port_type FC
fc_io_port_type_port_id 0
fc_io_port_id 6
fc_io_port_WWPNfc_io_port_switch_WWPNfc_io_port_state Inactive
fc_io_port_FCF_MACfc_io_port_vlanidfc_io_port_type FC
fc_io_port_type_port_id 0
fc_io_port_id 7
fc_io_port_WWPNfc_io_port_switch_WWPNfc_io_port_state Inactive
fc_io_port_FCF_MACfc_io_port_vlanidfc_io_port_type FC
fc_io_port_type_port_id 0
fc_io_port_id 8
fc_io_port_WWPNfc_io_port_switch_WWPNfc_io_port_state Inactive
fc_io_port_FCF_MACfc_io_port_vlanidfc_io_port_type FC
fc_io_port_type_port_id 0
fc_io_port_id 9
fc_io_port_WWPN 500507680c318b06
fc_io_port_switch_WWPNfc_io_port_state Inactive
fc_io_port_FCF_MAC N/A
fc_io_port_vlanid N/A
fc_io_port_type FC
fc_io_port_type_port_id 1
fc_io_port_id 10
fc_io_port_WWPN 500507680c328b06
fc_io_port_switch_WWPNfc_io_port_state Inactive
fc_io_port_FCF_MAC N/A
fc_io_port_vlanid N/A
fc_io_port_type FC
fc_io_port_type_port_id 2
fc_io_port_id 11
fc_io_port_WWPN 500507680c338b06
fc_io_port_switch_WWPNfc_io_port_state Inactive
fc_io_port_FCF_MAC N/A
fc_io_port_vlanid N/A
fc_io_port_type FC
fc_io_port_type_port_id 3
fc_io_port_id 12
fc_io_port_WWPN 500507680c348b06
fc_io_port_switch_WWPNfc_io_port_state Inactive
fc_io_port_FCF_MAC N/A
fc_io_port_vlanid N/A
fc_io_port_type FC
fc_io_port_type_port_id 4
service_IP_mode static
service_IP_mode_6
machine_part_number
node_machine_part_number_copy
local_fc_port_mask 1111111111111111111111111111111111111111111111111111111111111111
partner_fc_port_mask 1111111111111111111111111111111111111111111111111111111111111111
topology stretched
site_id 1
site_name site1
password_reset_enabled yes
identify_LED off
Battery_midplane_FRU_part 01LJ163
Battery_midplane_part_identity 11S01LJ164YM10BG72R04F
Battery_midplane_FW_version 8.0
Battery_power_cable_FRU_part 01EJ362
Battery_power_sense_cable_FRU_part 01EJ363
Battery_comms_cable_FRU_part 01EJ364
Battery_EPOW_cable_FRU_partproduct_name IBM SAN Volume Controller
techport permanent
fcportmap 31-11,32-12,33-13,34-14,41-21,42-22,43-23,44-24,61-31,62-32,63-33,64-34,71-51,72-52,73-53,74-54
